package com.lesso.lll.sunflower.attendance.repository;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.lesso.lll.sunflower.attendance.entity.AttendanceRule;
import org.apache.ibatis.annotations.Mapper;

/**
 * 考勤规则数据访问接口
 */
@Mapper
public interface AttendanceRuleRepository extends BaseMapper<AttendanceRule> {
    /**
     * 根据规则名称查询规则
     * @param ruleName 规则名称
     * @return 规则信息
     */
    AttendanceRule selectByRuleName(String ruleName);
}    